<template>
  <div class="mall-homepage">
    <!-- 头部导航 -->
    <header class="header">
      <div class="header-container">
        <div class="logo">
          <span>NB商城</span>
        </div>
        <div class="search-box">
          <input type="text" placeholder="搜索商品" v-model="searchKeyword" />
          <button @click="handleSearch">搜索</button>
        </div>
        <div class="user-actions">
          <div class="cart" @click="handleCartClick">
            <i class="icon-cart"></i>
            <span>购物车</span>
            <span class="cart-count" v-if="cartCount > 0">{{ cartCount }}</span>
          </div>
          <div class="user" @click="handleUserLogin">
            <i class="icon-user"></i>
            <span>登录</span>
          </div>
        </div>
      </div>
    </header>

    <!-- 主导航 -->
    <nav class="main-nav">
      <div class="nav-container">
        <div class="all-categories">
          <span>全部商品分类</span>
          <div class="categories-dropdown">
            <div class="category-item" v-for="category in categories" :key="category.id" @click="handleCategoryClick(category)">
              <i :class="category.icon"></i>
              <span>{{ category.name }}</span>
            </div>
          </div>
        </div>
        <div class="nav-links">
          <a href="#" v-for="link in navLinks" :key="link.id">{{ link.name }}</a>
        </div>
      </div>
    </nav>

    <!-- 主要内容区域 -->
    <main class="main-content">
      <div class="content-container">
        <!-- 左侧分类菜单 -->
        <aside class="sidebar">
          <div class="category-menu">
            <div class="category-item" v-for="category in categories" :key="category.id" @click="handleCategoryClick(category)">
              <i :class="category.icon"></i>
              <span>{{ category.name }}</span>
            </div>
          </div>
        </aside>

        <!-- 右侧内容 -->
        <div class="content-right">
          <!-- 轮播图 -->
          <section class="banner-section">
            <div class="banner-container">
              <div class="banner-slider">
                <div 
                  class="banner-item" 
                  v-for="(banner, index) in banners" 
                  :key="banner.id"
                  :class="{ active: currentBanner === index }"
                >
                   
                  <div class="banner-content">
                    <h2>{{ banner.title }}</h2>
                    <p>{{ banner.subtitle }}</p>
                  </div>
                </div>
              </div>
              <div class="banner-dots">
                <span 
                  v-for="(banner, index) in banners" 
                  :key="banner.id"
                  :class="{ active: currentBanner === index }"
                  @click="setCurrentBanner(index)"
                ></span>
              </div>
              <button class="banner-prev" @click="prevBanner">‹</button>
              <button class="banner-next" @click="nextBanner">›</button>
            </div>
          </section>

          <!-- 热门商品 -->
          <section class="hot-products">
            <div class="section-header">
              <h2>热门商品</h2>
              <a href="#" class="more-link">更多 ></a>
            </div>
            <div class="products-grid">
              <div class="product-card" v-for="product in hotProducts" :key="product.id">
                <div class="product-image">
                  <img :src="product.image" :alt="product.name" />
                  <div class="product-tags" v-if="product.tags">
                    <span class="tag" v-for="tag in product.tags" :key="tag">{{ tag }}</span>
                  </div>
                </div>
                <div class="product-info">
                  <h3 class="product-name">{{ product.name }}</h3>
                  <p class="product-desc">{{ product.description }}</p>
                  <div class="product-price">
                    <span class="current-price">¥{{ product.price }}</span>
                    <span class="original-price" v-if="product.originalPrice">¥{{ product.originalPrice }}</span>
                  </div>
                  <div class="product-actions">
                    <button class="btn-add-cart" @click="addToCart(product)">加入购物车</button>
                    <button class="btn-buy-now" @click="buyNow(product)">立即购买</button>
                  </div>
                </div>
              </div>
            </div>
          </section>

          <!-- 推荐商品 -->
          <section class="recommend-products">
            <div class="section-header">
              <h2>为您推荐</h2>
              <a href="#" class="more-link">更多 ></a>
            </div>
            <div class="products-grid">
              <div class="product-card" v-for="product in recommendProducts" :key="product.id">
                <div class="product-image">
                  <img :src="product.image" :alt="product.name" />
                  <div class="product-tags" v-if="product.tags">
                    <span class="tag" v-for="tag in product.tags" :key="tag">{{ tag }}</span>
                  </div>
                </div>
                <div class="product-info">
                  <h3 class="product-name">{{ product.name }}</h3>
                  <p class="product-desc">{{ product.description }}</p>
                  <div class="product-price">
                    <span class="current-price">¥{{ product.price }}</span>
                    <span class="original-price" v-if="product.originalPrice">¥{{ product.originalPrice }}</span>
                  </div>
                  <div class="product-actions">
                    <button class="btn-add-cart" @click="addToCart(product)">加入购物车</button>
                    <button class="btn-buy-now" @click="buyNow(product)">立即购买</button>
                  </div>
                </div>
              </div>
            </div>
          </section>
        </div>
      </div>
    </main>

    <!-- 页脚 -->
    <footer class="footer">
      <div class="footer-container">
        <div class="footer-section">
          <h3>购物指南</h3>
          <ul>
            <li><a href="#">购物流程</a></li>
            <li><a href="#">发票制度</a></li>
            <li><a href="#">账户管理</a></li>
          </ul>
        </div>
        <div class="footer-section">
          <h3>配送方式</h3>
          <ul>
            <li><a href="#">配送服务查询</a></li>
            <li><a href="#">配送费收取标准</a></li>
            <li><a href="#">海外配送</a></li>
          </ul>
        </div>
        <div class="footer-section">
          <h3>支付方式</h3>
          <ul>
            <li><a href="#">货到付款</a></li>
            <li><a href="#">在线支付</a></li>
            <li><a href="#">分期付款</a></li>
          </ul>
        </div>
        <div class="footer-section">
          <h3>售后服务</h3>
          <ul>
            <li><a href="#">售后政策</a></li>
            <li><a href="#">价格保护</a></li>
            <li><a href="#">退款说明</a></li>
          </ul>
        </div>
      </div>
    </footer>
  </div>
</template>

<script setup>
import { ref, onMounted } from 'vue'

// 响应式数据
const searchKeyword = ref('')
const cartCount = ref(0)
const currentBanner = ref(0)
const cartItems = ref([])

// 分类数据
const categories = ref([
  { id: 1, name: '手机数码', icon: 'icon-phone' },
  { id: 2, name: '电脑办公', icon: 'icon-computer' },
  { id: 3, name: '家用电器', icon: 'icon-appliance' },
  { id: 4, name: '服装鞋包', icon: 'icon-clothing' },
  { id: 5, name: '食品生鲜', icon: 'icon-food' },
  { id: 6, name: '图书音像', icon: 'icon-book' },
  { id: 7, name: '母婴用品', icon: 'icon-baby' },
  { id: 8, name: '运动户外', icon: 'icon-sports' },
  { id: 9, name: '美妆护肤', icon: 'icon-beauty' },
  { id: 10, name: '汽车用品', icon: 'icon-car' }
])

// 导航链接
const navLinks = ref([
  { id: 1, name: '秒杀' },
  { id: 2, name: '优惠券' },
  { id: 3, name: 'PLUS会员' },
  { id: 4, name: '品牌闪购' },
  { id: 5, name: '拍卖' },
  { id: 6, name: '京东家电' },
  { id: 7, name: '京东超市' },
  { id: 8, name: '京东生鲜' }
])

// 轮播图数据
const banners = ref([
  { id: 1, image: '/banner1.jpg', title: '新品上市', subtitle: '限时特价 抢购中' },
  { id: 2, image: '/banner2.jpg', title: '限时特价', subtitle: '全场8折起' },
  { id: 3, image: '/banner3.jpg', title: '品牌推荐', subtitle: '精选好物' }
])

// 热门商品数据
const hotProducts = ref([
  {
    id: 1,
    name: 'iPhone 15 Pro Max',
    description: '苹果最新旗舰手机，A17 Pro芯片',
    price: 9999,
    originalPrice: 10999,
    image: '/product1.jpg',
    tags: ['热销', '新品']
  },
  {
    id: 2,
    name: 'MacBook Pro 14英寸',
    description: 'M3芯片，专业级性能',
    price: 14999,
    originalPrice: 16999,
    image: '/product2.jpg',
    tags: ['热销']
  },
  {
    id: 3,
    name: 'AirPods Pro',
    description: '主动降噪，空间音频',
    price: 1899,
    originalPrice: 1999,
    image: '/product3.jpg',
    tags: ['热销']
  },
  {
    id: 4,
    name: 'iPad Air',
    description: 'M1芯片，10.9英寸全面屏',
    price: 4399,
    originalPrice: 4799,
    image: '/product4.jpg',
    tags: ['新品']
  }
])

// 推荐商品数据
const recommendProducts = ref([
  {
    id: 5,
    name: '华为 Mate 60 Pro',
    description: '麒麟芯片，卫星通信',
    price: 6999,
    originalPrice: 7999,
    image: '/product5.jpg',
    tags: ['推荐']
  },
  {
    id: 6,
    name: '小米14 Ultra',
    description: '徕卡光学，骁龙8 Gen 3',
    price: 5999,
    originalPrice: 6499,
    image: '/product6.jpg',
    tags: ['推荐']
  },
  {
    id: 7,
    name: 'OPPO Find X7',
    description: '哈苏影像，天玑9300',
    price: 5499,
    originalPrice: 5999,
    image: '/product7.jpg',
    tags: ['推荐']
  },
  {
    id: 8,
    name: 'vivo X100 Pro',
    description: '蔡司影像，天玑9300',
    price: 5999,
    originalPrice: 6499,
    image: '/product8.jpg',
    tags: ['推荐']
  }
])

// 方法
const handleSearch = () => {
  console.log('搜索关键词:', searchKeyword.value)
  // 这里可以添加搜索逻辑
  alert(`搜索: ${searchKeyword.value}`)
}

const addToCart = (product) => {
  const existingItem = cartItems.value.find(item => item.id === product.id)
  if (existingItem) {
    existingItem.quantity += 1
  } else {
    cartItems.value.push({
      ...product,
      quantity: 1
    })
  }
  cartCount.value = cartItems.value.reduce((total, item) => total + item.quantity, 0)
  alert(`${product.name} 已添加到购物车`)
}

const buyNow = (product) => {
  alert(`立即购买: ${product.name}`)
  // 这里可以跳转到商品详情页或结算页面
}

const handleCategoryClick = (category) => {
  console.log('选择分类:', category.name)
  alert(`您选择了: ${category.name}`)
}

const handleUserLogin = () => {
  alert('跳转到登录页面')
  // 这里可以跳转到登录页面
}

const handleCartClick = () => {
  if (cartItems.value.length === 0) {
    alert('购物车是空的')
  } else {
    alert(`购物车中有 ${cartCount.value} 件商品`)
  }
}

const setCurrentBanner = (index) => {
  currentBanner.value = index
}

const prevBanner = () => {
  currentBanner.value = currentBanner.value === 0 
    ? banners.value.length - 1 
    : currentBanner.value - 1
}

const nextBanner = () => {
  currentBanner.value = (currentBanner.value + 1) % banners.value.length
}

// 自动轮播
onMounted(() => {
  setInterval(() => {
    nextBanner()
  }, 3000)
})
</script>

<style scoped>
/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.mall-homepage {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
}

/* 头部样式 */
.header {
  background: linear-gradient(135deg, #e1251b 0%, #f10215 100%);
  color: white;
  padding: 15px 0;
  box-shadow: 0 4px 20px rgba(225, 37, 27, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
}

.logo img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.search-box {
  display: flex;
  flex: 1;
  max-width: 500px;
  margin: 0 50px;
}

.search-box input {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 25px 0 0 25px;
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-box input:focus {
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1), 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.search-box button {
  padding: 12px 25px;
  background: linear-gradient(135deg, #f10215 0%, #d10013 100%);
  color: white;
  border: none;
  border-radius: 0 25px 25px 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(241, 2, 21, 0.3);
}

.search-box button:hover {
  background: linear-gradient(135deg, #d10013 0%, #b8000f 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(241, 2, 21, 0.4);
}

.user-actions {
  display: flex;
  gap: 20px;
}

.cart, .user {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.cart-count {
  background: #f10215;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* 主导航样式 */
.main-nav {
  background: white;
  border-bottom: 1px solid #e5e5e5;
  padding: 10px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.all-categories {
  position: relative;
  background: linear-gradient(135deg, #e1251b 0%, #f10215 100%);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  margin-right: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(225, 37, 27, 0.3);
}

.all-categories:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(225, 37, 27, 0.4);
}

.categories-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: white;
  border: none;
  border-radius: 12px;
  width: 220px;
  z-index: 1000;
  display: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.all-categories:hover .categories-dropdown {
  display: block;
  animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.categories-dropdown .category-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: #333;
  border-bottom: 1px solid rgba(245, 245, 245, 0.8);
  transition: all 0.3s ease;
  cursor: pointer;
}

.categories-dropdown .category-item:last-child {
  border-bottom: none;
}

.categories-dropdown .category-item:hover {
  background: linear-gradient(135deg, rgba(225, 37, 27, 0.1) 0%, rgba(241, 2, 21, 0.1) 100%);
  color: #e1251b;
  transform: translateX(5px);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
}

.nav-links a:hover {
  color: #e1251b;
}

/* 主要内容区域 */
.main-content {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 20px;
}

.content-container {
  display: flex;
  gap: 20px;
}

/* 侧边栏 */
.sidebar {
  width: 220px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 20px 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  height: fit-content;
}

.category-menu .category-item {
  padding: 12px 20px;
  border-bottom: 1px solid #f5f5f5;
  cursor: pointer;
}

.category-menu .category-item:hover {
  background: #f5f5f5;
  color: #e1251b;
}

/* 右侧内容 */
.content-right {
  flex: 1;
}

/* 轮播图 */
.banner-section {
  margin-bottom: 20px;
}

.banner-container {
  position: relative;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.banner-slider {
  height: 100%;
  position: relative;
}

.banner-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.banner-item.active {
  opacity: 1;
}

.banner-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
}

.banner-content h2 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-content p {
  font-size: 24px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.banner-prev, .banner-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  z-index: 3;
  transition: background-color 0.2s;
}

.banner-prev:hover, .banner-next:hover {
  background: rgba(0, 0, 0, 0.7);
}

.banner-prev {
  left: 20px;
}

.banner-next {
  right: 20px;
}

.banner-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.banner-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.banner-dots span.active {
  background: white;
}

/* 商品区域 */
.hot-products, .recommend-products {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 20px;
  color: #333;
}

.more-link {
  color: #666;
  text-decoration: none;
  font-size: 14px;
}

.more-link:hover {
  color: #e1251b;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.product-card {
  background: white;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(225, 37, 27, 0.05) 0%, rgba(241, 2, 21, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-card:hover::before {
  opacity: 1;
}

.product-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-tags {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 5px;
}

.tag {
  background: #e1251b;
  color: white;
  padding: 2px 6px;
  border-radius: 2px;
  font-size: 12px;
}

.product-info {
  padding: 20px;
  position: relative;
  z-index: 2;
  background: white;
  border-radius: 0 0 16px 16px;
}

.product-name {
  font-size: 16px;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.4;
}

.product-desc {
  color: #666;
  font-size: 14px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.product-price {
  margin-bottom: 15px;
}

.current-price {
  color: #e1251b;
  font-size: 18px;
  font-weight: bold;
}

.original-price {
  color: #999;
  font-size: 14px;
  text-decoration: line-through;
  margin-left: 8px;
}

.product-actions {
  display: flex;
  gap: 10px;
}

.btn-add-cart, .btn-buy-now {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-add-cart {
  background: linear-gradient(135deg, #ff9500 0%, #ff8c00 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 149, 0, 0.3);
}

.btn-add-cart:hover {
  background: linear-gradient(135deg, #e6850e 0%, #e67e00 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 149, 0, 0.4);
}

.btn-buy-now {
  background: linear-gradient(135deg, #e1251b 0%, #f10215 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(225, 37, 27, 0.3);
}

.btn-buy-now:hover {
  background: linear-gradient(135deg, #c11a1a 0%, #d10013 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(225, 37, 27, 0.4);
}

/* 页脚 */
.footer {
  background: white;
  border-top: 1px solid #e5e5e5;
  padding: 40px 0;
  margin-top: 40px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 0 20px;
}

.footer-section h3 {
  color: #333;
  margin-bottom: 15px;
  font-size: 16px;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 8px;
}

.footer-section a {
  color: #666;
  text-decoration: none;
  font-size: 14px;
}

.footer-section a:hover {
  color: #e1251b;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 15px;
  }
  
  .search-box {
    margin: 0;
    max-width: 100%;
  }
  
  .nav-container {
    flex-direction: column;
    gap: 15px;
  }
  
  .content-container {
    flex-direction: column;
  }
  
  .sidebar {
    width: 100%;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 图标样式 */
.icon-cart::before { content: "🛒"; }
.icon-user::before { content: "👤"; }
.icon-phone::before { content: "📱"; }
.icon-computer::before { content: "💻"; }
.icon-appliance::before { content: "🏠"; }
.icon-clothing::before { content: "👕"; }
.icon-food::before { content: "🍎"; }
.icon-book::before { content: "📚"; }
.icon-baby::before { content: "👶"; }
.icon-sports::before { content: "⚽"; }
.icon-beauty::before { content: "💄"; }
.icon-car::before { content: "🚗"; }

/* 确保图标正确显示 */
[class*="icon-"] {
  display: inline-block;
  margin-right: 8px;
  font-style: normal;
  font-size: 16px;
}
</style>